<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="恢复NAS文件系统中的文件">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="zh-cn_topic_0000001792360730.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
  <meta name="DC.Publisher" content="20240320">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="ZH-CN_TOPIC_0000001792360722">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>恢复NAS文件系统中的文件</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="ZH-CN_TOPIC_0000001792360722"></a><a name="ZH-CN_TOPIC_0000001792360722"></a>
  <h1 class="topictitle1">恢复NAS文件系统中的文件</h1>
  <div>
   <p>当需要对已备份的NAS文件系统指定文件恢复时，可以参考本节恢复NAS文件系统中的文件至原位置、新位置或者本机位置。</p>
   <div class="section" id="ZH-CN_TOPIC_0000001792360722__section14342462311">
    <h4 class="sectiontitle">背景信息</h4>
    <ul id="ZH-CN_TOPIC_0000001792360722__ul1684123102616">
     <li id="ZH-CN_TOPIC_0000001792360722__li15684153110268"><span id="ZH-CN_TOPIC_0000001792360722__text19278102815148">本产品</span>支持使用备份副本进行文件级恢复。</li>
    </ul>
   </div>
   <div class="section" id="ZH-CN_TOPIC_0000001792360722__section867133810186">
    <h4 class="sectiontitle">注意事项</h4>
    <p id="ZH-CN_TOPIC_0000001792360722__p15863642111819">当文件夹或文件名称存在乱码时，不支持文件级恢复。请勿勾选该类型的文件夹或文件，否则恢复失败。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">前提条件</h4>
    <ul>
     <li>副本的索引状态必须为<span class="uicontrol" id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792387972_uicontrol483213401802">“<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792387972_text1711017353520">已索引</span>”</span>才支持文件级恢复。</li>
     <li>如果将NAS文件系统恢复到新位置，需要先将新位置的存储设备添加到<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_text1511818204144">本产品</span>。添加存储设备的详细操作请参见<a href="zh-cn_topic_0000001792360666.html">步骤2：添加存储设备</a>。支持的存储设备类型如下所示。
      <ul id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_ul1094984711471">
       <li id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001253534369_li984654311123">OceanStor Dorado 6.x</li>
       <li id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001253534369_li374214321505">OceanStor 6.x</li>
       <li id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001253534369_li177631111101216">OceanStor V5</li>
       <li id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001253534369_li3357311117">OceanStor Pacific</li>
       <li id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001253534369_li157481128412">NetApp ONTAP</li>
       <li id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_li72988389413">OceanProtect 1.3.0及之后版本</li>
      </ul></li>
     <li>如果将NAS文件系统恢复到新位置，需要在新位置所在存储设备中创建目标NAS文件系统并配置与待恢复副本相同共享协议的NAS共享。这是由于NAS文件系统的新位置恢复，是通过NAS共享方式实现，所以需要配置NAS共享。</li>
     <li>如果将NAS文件系统恢复到新位置，需要先在新位置的存储设备侧为<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_text17718172011416">本产品</span>配置访问权限。详细操作请参见<a href="zh-cn_topic_0000001839239777.html">步骤5：配置访问权限</a>。操作时，请为目标NAS共享配置客户端或者增加用户。</li>
    </ul>
   </div>
   <div class="section">
    <h4 class="sectiontitle">操作步骤</h4>
    <ol>
     <li><span>选择<span class="uicontrol" id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_uicontrol097351016491">“<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_text79731210144915">数据利用</span> &gt; <span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_text797381084918">副本数据</span> &gt; 文件系统 &gt; <span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_text75601138121416">NAS文件系统</span>”</span>。</span><p></p>
      <div class="note" id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_note414014816184">
       <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_p15140194811813">对于1.5.0版本，请选择<span class="uicontrol" id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_uicontrol117221257171816">“<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_text1772265701816">数据利用</span> &gt; <span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_text1272245713186">副本数据</span> &gt; 文件服务 &gt; <span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_zh-cn_topic_0000001839142377_text2072255721815">NAS文件系统</span>”</span>。</p>
       </div>
      </div> <p></p></li>
     <li><span>支持以NAS文件系统资源维度或以副本维度查找副本，本节以NAS文件系统资源维度为例进行说明。</span><p></p><p id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_p142551140161511">在“<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_text6827103218214">资源</span>”页签，根据NAS文件系统名称查找到需要恢复的文件系统，并单击文件系统名称。</p> <p></p></li>
     <li><span>在<span class="uicontrol" id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_uicontrol1812414562220">“<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_text18993182162710">副本数据</span>”</span>页面，依次选择年、月、天找到副本。</span><p></p><p id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_p9918150182310">当时间上显示<span><img id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_image886000161711" src="zh-cn_image_0000001792520510.png"></span>，即表示该月、该天存在副本。</p> <p></p></li>
     <li id="ZH-CN_TOPIC_0000001792360722__li7995952193812"><span>找到要恢复的副本，单击副本所在行右侧的<span class="uicontrol" id="ZH-CN_TOPIC_0000001792360722__uicontrol144673212457">“<span id="ZH-CN_TOPIC_0000001792360722__text16241181213589">更多</span> &gt; <span id="ZH-CN_TOPIC_0000001792360722__text6433142318586">文件级恢复</span>”</span>。</span></li>
     <li><span>选择待恢复的目标对象，及恢复目标位置。</span><p></p><p>恢复目标位置包含：<span>原位置</span>、<span>新位置</span>、<span>本机位置</span>。</p>
      <ul>
       <li><span>原位置</span>：恢复到原文件系统</li>
       <li><span>新位置</span>：恢复到其他设备的文件系统</li>
       <li><span>本机位置</span>：恢复到<span>本产品</span></li>
      </ul> <p>原位置参数说明，请参见<a href="#ZH-CN_TOPIC_0000001792360722__table15751633235">表1</a>；新位置的参数说明，请参见<a href="zh-cn_topic_0000001792520482.html#ZH-CN_TOPIC_0000001792520482__table429861453516">表2</a>和<a href="zh-cn_topic_0000001792520482.html#ZH-CN_TOPIC_0000001792520482__table1248313820599">表3</a>。本机位置参数说明如<a href="#ZH-CN_TOPIC_0000001792360722__table165841851143">表2</a>所示。</p>
      <div class="tablenoborder">
       <a name="ZH-CN_TOPIC_0000001792360722__table15751633235"></a><a name="table15751633235"></a>
       <table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001792360722__table15751633235" frame="border" border="1" rules="all">
        <caption>
         <b>表1 </b>恢复到原位置参数说明
        </caption>
        <colgroup>
         <col style="width:10.56%">
         <col style="width:89.44%">
        </colgroup>
        <thead align="left">
         <tr>
          <th align="left" class="cellrowborder" valign="top" width="10.56%" id="mcps1.3.5.2.5.2.4.2.3.1.1"><p>参数</p></th>
          <th align="left" class="cellrowborder" valign="top" width="89.44%" id="mcps1.3.5.2.5.2.4.2.3.1.2"><p>说明</p></th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td class="cellrowborder" valign="top" width="10.56%" headers="mcps1.3.5.2.5.2.4.2.3.1.1 "><p><span>位置</span></p></td>
          <td class="cellrowborder" valign="top" width="89.44%" headers="mcps1.3.5.2.5.2.4.2.3.1.2 "><p>文件系统所在的位置，用户无法修改。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="10.56%" headers="mcps1.3.5.2.5.2.4.2.3.1.1 "><p><span>共享名称</span></p></td>
          <td class="cellrowborder" valign="top" width="89.44%" headers="mcps1.3.5.2.5.2.4.2.3.1.2 "><p>选择访问文件系统的共享名称。</p>
           <div class="note">
            <span class="notetitle"> 说明： </span>
            <div class="notebody">
             <ul id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_ul1132413149512">
              <li id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_li232417146518"><span style="color:#282B33;">对于NFS共享，请确认当前设备具备NFS共享目录的读写权限，并且开启了no_root_squash选项。</span>配置NFS共享访问权限的详细操作，请参见<a href="zh-cn_topic_0000001839239777.html">步骤5：配置访问权限</a>。</li>
              <li id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001792520482_li77121156195115">对于CIFS共享，请确认当前设备具备CIFS共享目录的读写权限，推荐使用Administrator组中的用户进行备份，否则只能备份具有读写权限的文件和目录。配置CIFS共享访问权限的详细操作，请参见<a href="zh-cn_topic_0000001839239777.html">步骤5：配置访问权限</a>。</li>
             </ul>
            </div>
           </div></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="10.56%" headers="mcps1.3.5.2.5.2.4.2.3.1.1 "><p><span>FQDN/IP</span></p></td>
          <td class="cellrowborder" valign="top" width="89.44%" headers="mcps1.3.5.2.5.2.4.2.3.1.2 "><p>访问NAS共享的FQDN名称或者业务IP地址。</p> <p>FQDN名称格式为<em id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001839239733_i1721710819358">NAS共享所在的存储设备名称</em>.<em id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001839239733_i12733111103514">存储设备所加入域的域名</em>。如NAS共享所在的存储设备名称为Huawei.Storage，存储设备所加入域的域名为huawei.com，则FQDN名称为Huawei.Storage.huawei.com。</p>
           <div class="note">
            <span class="notetitle"> 说明： </span>
            <div class="notebody">
             <p id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001839239733_p53320310365">如果需要填写FQDN名称，请在<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001839239733_text45421758151311">本产品</span>设备管理界面配置DNS服务，使<span id="ZH-CN_TOPIC_0000001792360722__zh-cn_topic_0000001839239733_text4110125920135">本产品</span>可以访问外部域名地址。配置DNS服务的详细操作，请参见<a href="zh-cn_topic_0000001839159813.html">配置DNS服务</a>。</p>
            </div>
           </div></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="10.56%" headers="mcps1.3.5.2.5.2.4.2.3.1.1 "><p><span>认证方式</span></p></td>
          <td class="cellrowborder" valign="top" width="89.44%" headers="mcps1.3.5.2.5.2.4.2.3.1.2 "><p>文件系统的认证方式。当备份副本选择的共享协议为CIFS时，展示此选项。参数说明请参见<a href="zh-cn_topic_0000001839239733.html#ZH-CN_TOPIC_0000001839239733__table1929515516558">表1</a>。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="10.56%" headers="mcps1.3.5.2.5.2.4.2.3.1.1 "><p><span>覆盖规则</span></p></td>
          <td class="cellrowborder" valign="top" width="89.44%" headers="mcps1.3.5.2.5.2.4.2.3.1.2 "><p>当恢复路径中存在同名文件时，选择替换或跳过已存在的文件。</p>
           <ul>
            <li><span>直接替换已经存在的文件</span></li>
            <li><span>忽略已存在的文件</span></li>
            <li><span>只替换比恢复文件更旧的文件</span></li>
           </ul></td>
         </tr>
        </tbody>
       </table>
      </div>
      <div class="tablenoborder">
       <a name="ZH-CN_TOPIC_0000001792360722__table165841851143"></a><a name="table165841851143"></a>
       <table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001792360722__table165841851143" frame="border" border="1" rules="all">
        <caption>
         <b>表2 </b>恢复至本机位置参数说明
        </caption>
        <colgroup>
         <col style="width:10.54%">
         <col style="width:89.46%">
        </colgroup>
        <thead align="left">
         <tr id="ZH-CN_TOPIC_0000001792360722__row6585115119414">
          <th align="left" class="cellrowborder" valign="top" width="10.54%" id="mcps1.3.5.2.5.2.5.2.3.1.1"><p id="ZH-CN_TOPIC_0000001792360722__p1658575112415">参数</p></th>
          <th align="left" class="cellrowborder" valign="top" width="89.46%" id="mcps1.3.5.2.5.2.5.2.3.1.2"><p id="ZH-CN_TOPIC_0000001792360722__p175851451349">说明</p></th>
         </tr>
        </thead>
        <tbody>
         <tr id="ZH-CN_TOPIC_0000001792360722__row1158517518417">
          <td class="cellrowborder" valign="top" width="10.54%" headers="mcps1.3.5.2.5.2.5.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001792360722__p158517511048"><span id="ZH-CN_TOPIC_0000001792360722__text191084227520">文件系统</span></p></td>
          <td class="cellrowborder" valign="top" width="89.46%" headers="mcps1.3.5.2.5.2.5.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001792360722__p15851451646">选择恢复到本机的文件系统。首次恢复到本机位置时，可单击<span class="uicontrol" id="ZH-CN_TOPIC_0000001792360722__uicontrol124218413611">“<span id="ZH-CN_TOPIC_0000001792360722__text128775231364">创建</span>”</span>新建文件系统。创建文件系统的详细操作，请参见<a href="zh-cn_topic_0000001792360710.html">创建文件系统</a>。</p></td>
         </tr>
         <tr id="ZH-CN_TOPIC_0000001792360722__row1358516511642">
          <td class="cellrowborder" valign="top" width="10.54%" headers="mcps1.3.5.2.5.2.5.2.3.1.1 "><p id="ZH-CN_TOPIC_0000001792360722__p1725084223716"><span id="ZH-CN_TOPIC_0000001792360722__text132479819312">覆盖规则</span></p></td>
          <td class="cellrowborder" valign="top" width="89.46%" headers="mcps1.3.5.2.5.2.5.2.3.1.2 "><p id="ZH-CN_TOPIC_0000001792360722__p172501042153719">当恢复路径中存在同名文件时，选择替换或跳过已存在的文件。</p>
           <ul id="ZH-CN_TOPIC_0000001792360722__ul15250642173717">
            <li id="ZH-CN_TOPIC_0000001792360722__li52501642173711"><span id="ZH-CN_TOPIC_0000001792360722__text14250042193711">直接替换已经存在的文件</span></li>
            <li id="ZH-CN_TOPIC_0000001792360722__li15250154283711"><span id="ZH-CN_TOPIC_0000001792360722__text52507424377">忽略已存在的文件</span></li>
            <li id="ZH-CN_TOPIC_0000001792360722__li22501342183719"><span id="ZH-CN_TOPIC_0000001792360722__text32501742143716">只替换比恢复文件更旧的文件</span></li>
           </ul></td>
         </tr>
        </tbody>
       </table>
      </div> <p></p></li>
     <li><span>单击<span class="uicontrol">“<span>确定</span>”</span>。</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="zh-cn_topic_0000001792360730.html">恢复</a>
    </div>
   </div>
  </div>
 </body>
</html>